<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>

    <style>
        .register-form {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70%;
            margin: 0 auto;
        }

        .register-form h2 {
            font-size: 24px;
            text-align: center;
            margin-bottom: 60px;
        }

        .register-user_name input {
            height: 50px;
            border: 1px solid #ccc;
            width: 100%;
            padding: 0 10px;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .register-button {
            background-color: #337AB7;
            color: #ffffff;
            border-radius: 5px;
            line-height: 45px;
            text-align: center;
            font-size: 20px;
        }

        .register-button[disabled] {
            opacity: 0.5;
        }
    </style>
</head>

<body>
    <div class="register">

        <div class="register-form">
            <h2>Video Call 1 to 1 with WebRTC</h2>
            <div class="register-user_name">
                <input type="text" v-model="user_name" placeholder="请输入你的名字...">
            </div>
            <div class="register-user_name">
                <input type="text" v-model="friend_name" placeholder="请输入被叫人名字...">
            </div>
            <a href="javascript:;" class="register-button" onclick="go_to_video()">注册</a>
        </div>

    </div>
    
    <script src="lib/jquery.min.js" type="text/javascript" charset="utf-8"></script>
	
	
		<script type="text/javascript">
			
			function go_to_video(){
				
				console.log(22222222)
				location.href="video_one.html"
			}
		</script>
</body>

</html>